# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

MY_PV="ver${PV}"
MY_P="${PN}_${MY_PV}"

DESCRIPTION="C bindings to the Linux Power Capping Framework in sysfs"
HOMEPAGE="https://github.com/powercap/powercap"
SRC_URI="mirror://github/powercap/powercap/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"

IUSE=""

RDEPEND=""
BDEPEND=""

#S="${WORKDIR}/cpp"

#src_configure() {
#	local mycmakeargs=(
#		-DBUILD_SHARED_LIBS=ON
#	)
#	cmake_src_configure
#}

